package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppFileGroupDao;
import com.appkubes.portal.core.entity.PortalAppFileGroup;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppFileGroupService extends AbstractBaseService<BasePortalAppFileGroupDao, PortalAppFileGroup> {

    PortalAppFileGroup getOneByEntity(PortalAppFileGroup entity);

    List<PortalAppFileGroup> selectListByEntity(PortalAppFileGroup entity);

    IPage<PortalAppFileGroup> selectPageByEntity(IPage<PortalAppFileGroup> page);
    IPage<PortalAppFileGroup> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppFileGroup> selectPageByEntity(PortalAppFileGroup entity, IPage<PortalAppFileGroup> page);
    IPage<PortalAppFileGroup> selectPageByEntity(PortalAppFileGroup entity, PageVO pageVO);

    IPage<PortalAppFileGroup> selectPageByEntity(PortalAppFileGroup entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppFileGroup entity);
}
